package com.digitalchina.lxnsy.viewholder;

import android.view.ViewGroup;
import android.widget.TextView;

import com.digitalchina.lxnsy.R;
import com.digitalchina.lxnsy.entity.MsgVO;
import com.jude.easyrecyclerview.adapter.BaseViewHolder;

/**
 * ================================================
 * 项目名称：BigData
 * 类描述：
 * 包名：com.digitalchina.bigdata.viewholder
 * 创建人：byd
 * 创建时间：2017/3/24 18:02
 * 修改备注：
 * ================================================
 */

public class UserTypeHolder extends BaseViewHolder<MsgVO> {

    private TextView tvContent;

    public UserTypeHolder(ViewGroup parent) {
        super(parent, R.layout.item_type_user_msg);
        tvContent = $(R.id.item_type_user_msg_tv_content);
    }

    @Override
    public void setData(MsgVO data) {
        super.setData(data);
        tvContent.setText(data.getContent());
    }
}
